home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C16 / egcs.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  1.5 KB  |  77 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C16
  7. # using the egcs compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f egcs.makefile
  11.  
  12. CPP = g++
  13. OFLAG = -o
  14. .SUFFIXES : .o .cpp .c
  15. .cpp.o :
  16.     $(CPP) $(CPPFLAGS) -c $<
  17. .c.o :
  18.     $(CPP) $(CPPFLAGS) -c $<
  19.  
  20. all: \
  21.     IStack \
  22.     Stemp \
  23.     Stemp2 \
  24.     Stackt \
  25.     Mblock \
  26.     TStashTest \
  27.     TStackTest \
  28.     Recycle 
  29.  
  30. test: all 
  31.     IStack  
  32.     Stemp  
  33.     Stemp2  
  34.     Stackt  
  35.     Mblock  
  36.     TStashTest  
  37.     TStackTest  
  38.     Recycle  
  39.  
  40. bugs: 
  41.     @echo No compiler bugs in this directory!
  42.  
  43. IStack: IStack.o 
  44.     $(CPP) $(OFLAG)IStack IStack.o 
  45.  
  46. Stemp: Stemp.o 
  47.     $(CPP) $(OFLAG)Stemp Stemp.o 
  48.  
  49. Stemp2: Stemp2.o 
  50.     $(CPP) $(OFLAG)Stemp2 Stemp2.o 
  51.  
  52. Stackt: Stackt.o 
  53.     $(CPP) $(OFLAG)Stackt Stackt.o 
  54.  
  55. Mblock: Mblock.o 
  56.     $(CPP) $(OFLAG)Mblock Mblock.o 
  57.  
  58. TStashTest: TStashTest.o 
  59.     $(CPP) $(OFLAG)TStashTest TStashTest.o 
  60.  
  61. TStackTest: TStackTest.o 
  62.     $(CPP) $(OFLAG)TStackTest TStackTest.o 
  63.  
  64. Recycle: Recycle.o 
  65.     $(CPP) $(OFLAG)Recycle Recycle.o 
  66.  
  67.  
  68. IStack.o: IStack.cpp ../require.h 
  69. Stemp.o: Stemp.cpp ../require.h 
  70. Stemp2.o: Stemp2.cpp ../require.h 
  71. Stackt.o: Stackt.cpp Stackt.h ../require.h 
  72. Mblock.o: Mblock.cpp ../require.h 
  73. TStashTest.o: TStashTest.cpp TStash.h ../require.h 
  74. TStackTest.o: TStackTest.cpp TStack.h ../require.h 
  75. Recycle.o: Recycle.cpp TStack.h 
  76.  
  77.